package com.cskaoyan.model.admin.vo;

import lombok.Data;

import java.util.List;
/**
 * @author jiaolei
 */
@Data
public class AdBaseData {
    Integer page;
    Integer limit;
    Integer total;
    Integer pages;
    List list;

    public static AdBaseData list(List list,Integer page,Integer limit,long total,Integer pages) {
        AdBaseData data1 = new AdBaseData();
        data1.setList(list);
        data1.setTotal((int) total);
        data1.setLimit(limit);
        data1.setPages(pages);
        data1.setPage(page);
        return data1;
    }
}
